using System;
using System.Collections;
using System.IO;
using System.Xml;
using System.Xml.Serialization;

namespace Curriculum.Business.LectorMetadatos
{

	public class LectorAtributos : LectorBase {

		public LectorAtributos(){

		}

		public ListaAtributos Leer(string nroVersion)
		{
			return base.GetXMLDeserealizado(nroVersion) as ListaAtributos;
		}

		#region Implementacion LectorBase
		protected override XmlSerializer CrearSerializador()
		{
			return new XmlSerializer(typeof(ListaAtributos));
		}

		protected override string GetNombreArchivoXML()
		{
			return System.Configuration.ConfigurationSettings.AppSettings[Constants.APP_ATRIBUTOS];
		}

		#endregion
	}//end LectorAtributos

}//end namespace Logical Model